@charset "UTF-8";
//定义混合宏mixin
@mixin border($width,$color){
  border: $width solid $color;
}
$w:840px;
$h:225px;

//定义占位符placeholder
%cl-b{//清除浮动
  zoom: 1;
  &:after,&:before{
     content: "";
     display: block;
     height: 0;
     clear: both;
   }
}


.pic-list{
  width: $w+4px;
  margin: 50px auto;
  @extend %cl-b;
  @include border(2px, #e3e3e3);
  img{
    display: block;
    position: relative;
    float: left;
    width: $w/2;
    height: $h;
    @include border(1px, #1f85ff);

  }
}
.lazy{
  background: url("../img/loading.gif") no-repeat center;
}





